package com.czy.ekp.gen;

import java.util.HashMap;

public class GenConsts {

    public static final String SQL_TABLE = "sql_info";


    public static HashMap<String,String> TO_DB_TYPES = new HashMap<>();

    static {
        TO_DB_TYPES.put("text", "varchar(200)");
        TO_DB_TYPES.put("textarea", "text");
        TO_DB_TYPES.put("richtext", "text");
        TO_DB_TYPES.put("number", "int(11)");
        TO_DB_TYPES.put("select", "varchar(10)");
        TO_DB_TYPES.put("checkbox", "varchar(100)");
        TO_DB_TYPES.put("switch", "varchar(10)");
        TO_DB_TYPES.put("file", "varchar(512)");

    }



}
